import request from '@/utils/request'

// 查询报告拓展表列表
export function listCompassReportExpand(query) {
    return request({
        url: '/system/CompassReportExpand/list',
        method: 'get',
        params: query
    })
}

// 查询报告拓展表详细
export function getCompassReportExpand(id) {
    return request({
        url: '/system/CompassReportExpand/' + id,
        method: 'get'
    })
}

// 新增报告拓展表
export function addCompassReportExpand(data) {
    return request({
        url: '/system/CompassReportExpand',
        method: 'post',
        data: data
    })
}

// 修改报告拓展表
export function updateCompassReportExpand(data) {
    return request({
        url: '/system/CompassReportExpand',
        method: 'put',
        data: data
    })
}

// 删除报告拓展表
export function delCompassReportExpand(id) {
    return request({
        url: '/system/CompassReportExpand/' + id,
        method: 'delete'
    })
}

// 导出报告拓展表
export function exportCompassReportExpand(query) {
    return request({
        url: '/system/CompassReportExpand/export',
        method: 'get',
        params: query
    })
}